<%@ page import="models.User" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<html>
<head lang="en">
    <meta http-equiv="content-type" content="text/html;charset=UTF-8">
    <title>早教机器人管理系统</title>
    <link rel="stylesheet" href="../resources/css/public.css"/>
    <link rel="stylesheet" href="../resources/css/menuStyle.css"/>
    <%
        User user = (User) session.getAttribute("user");
        String name = user.getName();
    %>
</head>
<body>
<!--头部-->
<header class="publicHeader">
    <h1>早教机器人后台管理</h1>

    <div class="publicHeaderR">
        <p><span id="hours1"></span><span style="color: #fff21b"> &nbsp;<%=name%></span> , 欢迎你！</p>
        <a href="../views/init.jsp">退出</a>
    </div>
</header>
<!--时间-->
<div class="publicTime">
    <span id="time">2015年1月1日 11:11 星期一</span>
</div>
<!--主体内容-->
<div class="publicMian">
    <div class="left">
        <h2 class="leftH2"><span class="span1"></span>功能列表 <span></span></h2>
        <nav>
            <form action="/pageSer">
                <ul class="list">
                    <li><a href="../views/func.jsp">功能管理</a></li>
                    <li><a href="../views/userAll.jsp">用户管理</a></li>
                    <li><a href="../views/voiceAll.jsp">语音管理</a></li>
                    <li><a href="../views/init.jsp">退出系统</a></li>
                </ul>
            </form>
        </nav>
    </div>
    <div class="right">
        <div class="location">
            <strong>你现在所在的位置是:</strong>
            <span>管理页面</span>
        </div>
        <img class="wColck" src="../resources/img/clock.png" alt=""/>
        <div class="wFont">
            <h2><%=name%>
            </h2>
            <p>欢迎来到早教机器人管理系统!</p>
            <span id="hours"></span>
        </div>

    </div>
</div>
<footer class="footer">
    <p class="copyright">
        Copyright &copy; 2019.Company name All rights reserved.
    </p>
</footer>

<script charset="UTF-8" src="../resources/js/time.js"></script>
</body>
</html>